package cn.shop.transcation.bankcard.mapper;

import cn.shop.base.MyBaseMapper;
import cn.shop.transcation.bankcard.entity.BankAndIDInfo;
import cn.shop.transcation.bankcard.entity.BankCard;

/**
 * @author : 李一涵
 * @date : Created in 2022-1-25 13:30
 * @description :
 */
public interface BankCardMapper extends MyBaseMapper<BankCard> {
    BankAndIDInfo getBankAndIDInfo(Long userId);
    /**

    * 修改原始默认银行卡为普通
    * @author 王鹤然
    * @date 2023/1/30 0030 下午 15:29
     * @param userId
    */
    void changeOriginalDefault(Long userId);
}
